package com.lry.web.fiction.service;



import java.io.IOException;
import java.util.Map;

public interface FictionService {

    Map<String,Object> getFictions(String key, String option, Integer from, Integer size) throws IOException;

    int deleteByFictionId(String fictionId) throws Exception;

    int deleteByFVId(String fVId) throws Exception;

    int spiderFiction(String title) throws InterruptedException;

    Integer selectNum();

    Map<String,Object> selectFictions(int from , int size,String option,String key);




}
